using System;
using System.Xml.Serialization;

namespace WHC.Hotel.Entity
{
    [Serializable]
    public class PurchaseHeaderInfo : BaseEntity
    {    
        #region Field Members

        private int m_ID = 0;         
        private string m_HandNo = ""; //进货编号          
        private string m_OperationType = ""; //操作类型（进货还是退货）          
        private string m_Manufacture = ""; //供应商          
        private string m_WareHouse = ""; //进货仓库          
        private decimal m_Yinfu = 0; //应付          
        private decimal m_Paid = 0; //已付          
        private decimal m_YinShou = 0; //应收          
        private decimal m_Received = 0; //已收          
        private string m_Note = ""; //备注          
        private DateTime m_CreateDate = System.DateTime.Now; //创建日期          
        private string m_Creator = ""; //经手员工          

        #endregion

        #region Property Members
        
        public virtual int ID
        {
            get
            {
                return this.m_ID;
            }
            set
            {
                this.m_ID = value;
            }
        }

        /// <summary>
        /// 进货编号
        /// </summary>
        public virtual string HandNo
        {
            get
            {
                return this.m_HandNo;
            }
            set
            {
                this.m_HandNo = value;
            }
        }

        /// <summary>
        /// 操作类型（进货还是退货）
        /// </summary>
        public virtual string OperationType
        {
            get
            {
                return this.m_OperationType;
            }
            set
            {
                this.m_OperationType = value;
            }
        }

        /// <summary>
        /// 供应商
        /// </summary>
        public virtual string Manufacture
        {
            get
            {
                return this.m_Manufacture;
            }
            set
            {
                this.m_Manufacture = value;
            }
        }

        /// <summary>
        /// 进货仓库
        /// </summary>
        public virtual string WareHouse
        {
            get
            {
                return this.m_WareHouse;
            }
            set
            {
                this.m_WareHouse = value;
            }
        }

        /// <summary>
        /// 应付
        /// </summary>
        public virtual decimal Yinfu
        {
            get
            {
                return this.m_Yinfu;
            }
            set
            {
                this.m_Yinfu = value;
            }
        }

        /// <summary>
        /// 已付
        /// </summary>
        public virtual decimal Paid
        {
            get
            {
                return this.m_Paid;
            }
            set
            {
                this.m_Paid = value;
            }
        }

        /// <summary>
        /// 应收
        /// </summary>
        public virtual decimal YinShou
        {
            get
            {
                return this.m_YinShou;
            }
            set
            {
                this.m_YinShou = value;
            }
        }

        /// <summary>
        /// 已收
        /// </summary>
        public virtual decimal Received
        {
            get
            {
                return this.m_Received;
            }
            set
            {
                this.m_Received = value;
            }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public virtual string Note
        {
            get
            {
                return this.m_Note;
            }
            set
            {
                this.m_Note = value;
            }
        }

        /// <summary>
        /// 创建日期
        /// </summary>
        public virtual DateTime CreateDate
        {
            get
            {
                return this.m_CreateDate;
            }
            set
            {
                this.m_CreateDate = value;
            }
        }

        /// <summary>
        /// 经手员工
        /// </summary>
        public virtual string Creator
        {
            get
            {
                return this.m_Creator;
            }
            set
            {
                this.m_Creator = value;
            }
        }


        #endregion

    }
}